package club.beimeng.emailserver2.service;

import javax.mail.internet.MimeMessage;
import java.util.Map;

public interface EmailService {

    boolean receiveTask(String recipients, String title, String html);

    boolean receiveTask(String recipients, String title, String templateCode, Map<String,String> args);

    boolean receiveTask(MimeMessage mimeMessage);
}
